//
//  HMImageDownloadManager.h
//  ImageLoaderWithMKNetWorking
//
//  Created by ngoc thanh on 1/8/14.
//  Copyright (c) 2014 ngoc thanh. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "MKNetworkKit.h"
typedef NS_ENUM(NSInteger, TYPELOAD){
    TYPELOAD_LOWPRIORITY,       // use for load image prepair for list not display on screen now (many image)
    TYPELOAD_HIGHTPRIORITY      // use for load image need now at this time, faster
};
@interface HMImageDownloadManager : NSObject
+ (HMImageDownloadManager *)share;
- (void)downloadUrl:(NSString *)stringUrl local:(NSString *)local complete:(MKNKResponseBlock)response errorHandler:(MKNKResponseErrorBlock)errorBlock priority:(TYPELOAD)type canOverride:(BOOL)isOverride;
- (void)downloadUrl:(NSString *)stringUrl complete:(MKNKResponseBlock)response errorHandler:(MKNKResponseErrorBlock)errorBlock priority:(TYPELOAD)type canOverride:(BOOL)isOverride;
@end
